﻿using System;
using __Able.Network.Utils;
using System.Collections.Generic;

namespace __Able.Network.Packet
{
    public abstract class BasicPacket
    {
        /// <summary>
        /// 包的描述性名称
        /// </summary>
        public virtual string PacketName
        {
            get
            {
                return "_Packet";
            }
        }
        /// <summary>
        /// 包体缓冲区
        /// </summary>
        protected static ByteBuffer _buf = new ByteBuffer();
        /// <summary>
        /// 
        /// </summary>
        internal ByteBuffer GetByteBuffer
        {
            get
            {
                return _buf;
            }
        }
    }
}